package org.example.service;

import org.example.dto.LoginDto;
import org.example.utils.ResponseResult;

/**
 * @author Rommel
 * @version 1.0
 * @date 2023/6/14-18:21
 * @description TODO
 */
public interface SysLoginService {


    /**
     *
     * @param loginDto
     * @return
     * @author  Rommel
     * @date    2023/6/18-0:36
     * @version 1.0
     * @description  账号密码登录
     */
    ResponseResult login(LoginDto loginDto);

    /**
     *
     * @return
     * @author  Rommel
     * @date    2023/6/19-19:22
     * @version 1.0
     * @description  退出登录
     */
    ResponseResult loginOut();

}
